package org.brownflat.lighthouse.monitoring.ci;

import java.io.Serializable;
import java.util.Date;

public class Build implements Serializable {
    private String project = null;
    private boolean broken = false;
    private Date date = null;
    private String name = null;

    public String getProject() {
        return project;
    }

    public void setProject(String project) {
        this.project = project;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setBroken(boolean broken) {
        this.broken = broken;
    }

    public boolean isBroken() {
        return broken;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

    public String getKey() {
        return project + " " + name;
    }
}
